Tape printing apparatus

ABSTRACT

There is provided a tape printing apparatus for printing desired character string data on a tapelike printing object, in which a plurality of functions can be set with a single physical operation means. 
     When a character size setting function key is operated (S14), the position of a cursor existing on a display screen is detected. The character size is set over the whole sentence (S24) if the cursor is positioned on the right side of a line head mark, set by paragraph (S23) if the cursor is positioned at the head of the first line of each paragraph, and set by line (S22) if the cursor is positioned on the right side of the head of a line of each paragraph. In other cases, the size of characters from the cursor on is set or the character size is set word by word (S20, 21).

TECHNICAL FIELD

The present invention relates to a tape printing apparatus for printing print data, such as a desired character string, on a tape, and more particularly, to a tape printing apparatus having a function for arbitrarily setting a character attribute such as character size and a font.

BACKGROUND ART

There has been before provided a tape printing apparatus for printing data such as a desired character string (characters, signs and the like) on a tapelike print object. In this apparatus, a cassette case housing the tapelike print object is detachably mounted. Printing on the print object is performed by loading the cassette case in the tape printing apparatus. In the tape printing apparatus having such a structure, the size of characters to be printed is automatically changed according to the width of the tape in the set tape cassette as shown in Japanese Patent Laid-Open No. 3-72461.

As mentioned above, the latest tape printing apparatus automatically switches the size of characters by line according to the width of the printing tape housed in the set tape cassette, and therefore, it is impossible to imagine what a print on the printing tape will be like.

The present invention aims to solve such a problem, and an object of the present invention is to provide a tape printing apparatus which can set, with a few operation keys, a character attribute, such as a character size and a font, by paragraph or line and set the character size character by character in a line.

DISCLOSURE OF THE INVENTION

In order to achieve this object, a tape printing apparatus of the present invention comprises a character attribute setting means for changing an object, whose character attribute can be set, according to positional information from an input data position specifying means.

In the tape printing apparatus of the present invention which has the above structure, since settings in different areas, for example, change of character size over the whole line or character by character in the line, can be made with a single operation key based on a cursor position displayed on a display, operability of the tape printing apparatus can be enhanced drastically.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a view of a flow chart showing a key input processing routine of a tape printer or writer representing an embodiment of the present invention.

FIG. 2 is an outward view of the tape writer representing the embodiment of the present invention.

FIG. 3 is a configuration view of a control circuit of the tape writer representing the embodiment of the present invention.

FIG. 4,a,b and c is a view showing a display state of an LCD panel representing the embodiment of the present invention when the character size is set line by line, and a print result in the setting.

FIG. 5 a,b,c and d is a view showing a display state of the LCD panel representing the embodiment of the present invention when the character size is set character by character, and a print result in the setting.

FIG. 6 a,b,c,d and e is a view showing a display state of the LCD panel when character ornament is to be changed by a character attribute setting means, and a print result in the setting.

FIG. 7 a,b,c,d and e is a view showing a display state of the LCD panel when the type of a character font is to be changed by the character attribute setting means, and a print result in the setting.

FIG. 8 a,b,c,d,e,f and g is a view explaining the setting of character size line by line when the number of lines is two.

FIG. 9 a,b,c and d is a view explaining the setting of character size of characters from a cursor on.

FIG. 10 a,b,c and d is a view explaining the character size setting over the whole sentence.

FIG. 11 a,b,c and d is a view explaining the character size setting in a paragraph.

FIG. 12 a,b,c and d is a view explaining the setting of character size word by word.

FIG. 13 a and b view explaining an area in which the size is set.

Numerals respectively denote the following components.

1 . . . a tape writer

10 . . . a main case

11 . . . a keyboard

11a . . . a power key

11b . . . a print key

11c . . . a size key

12 . . . an LCD panel

13 . . . a main cover

14 . . . a tape cartridge holder

15 . . . a thermal head

16 . . . a tape ejection slot

17 . . . a cutter button

20 . . . a tape cartridge

22 . . . a printing tape

30 . . . a controller

31 . . . a CPU

32 . . . an input

33 . . . a printer

34 . . . a display

40 . . . a line head mark

41, 51, 101, 111 . . . cursors

42 . . . an inverted character size display portion

BEST MODE FOR CARRYING OUT THE INVENTION

In order to make the above-mentioned structure and operation of the present invention more clear, a tape writer, in which a character attribute set by the present invention is a character size, will be described hereinafter.

Structure of Hardware

FIG. 2 is a view showing the outward appearance of a tape writer 1 according to this embodiment. The tape writer 1 comprises, as shown in the figure, a main case 10 for housing various components therein, a keyboard 11 with 63 input keys, a liquid crystal panel for displaying a character string or other information (referred to as "LCD panel"hereinafter), and a main cover 13 which can open and close. A tape cartridge 20, in which an unillustrated ink ribbon and a printing tape 22 to be printed by using this ink ribbon are housed, is loaded in a tape cartridge holder 14 provided on the upper left of the main body.

When the tape writer 1 is used, the main cover 13 is first opened as shown in FIG. 2, and the tape cartridge 20 is loaded in the tape cartridge holder 14. At this time, the tape cartridge 20 is loaded so that the printing tape 22 comes out of the main case 10 through the tape ejection slot 16, and the main cover 13 is closed. Then, the power is turned on by operating a power key 11a, and characters to be printed and attributes related to the characters are input from the keyboard 11. When instructions to start printing are given by operating a print key 11b, the input characters are printed on the printing tape 22 supplied from the tape cartridge 20 according to the input attributes. The printed printing tape 22 is ejected from the tape ejection slot 16 formed on the left of the main case 10. When ejection is completed, the printing tape 22 is cut by an unillustrated cutter located near the tape ejection slot 16 of the main body by pressing down a cutter button 17, thereby making a tape capable of sticking. Next, the configuration of a controller for controlling the operation of the tape writer 1 will be described with reference to FIG. 3. In the figure, numeral 31 denotes a one-chip microcomputer (referred to as "CPU"hereinafter), to which, broadly, a controller 30, an input 32, a printer 33 and a display 34 are connected.

In the controller 30, a ROM 30d for storing a program for controlling the operation of the CPU 31 and character font data on character fonts different in character composing dot number needed to print on the printing tape 22, and a RAM 30c for storing data input from the input 32 as text or the like are connected. Furthermore, an input interface 30a and an output interface 30b for exchanging data with the input 32, the printer 33 and the display 34 are also connected.

The input 32 is composed of 63 keys, which are divided into keys for inputting characters and keys for setting various functions. The character keys are used to input characters to be printed in text. The function keys are used to designate functions, such as setting of character attributes, printing and edition of sentences in the text. Instructions to set the print character size line by line or character by character according to the present invention are given by operating the function keys. The display 34 comprises the LCD panel 12 and an LCD drive circuit 34a for driving the LCD panel, and displays data in the text stored in the RAM 30c of the controller 30.

The printer 33 comprises a thermal head 15, a stepping motor 33c, and driving circuits 33a and 33b therefore, and prints the data in the text stored in the RAM 30c of the controller 30 on the printing tape 22 according to the set attributes.

Description of Software

The embodiment having the above electric configuration aims to solve the above-mentioned conventional problem by software. Processing steps for solving the problem are included in a processing routine at key input. This processing will now be described.

FIG. 1 is a flow chart showing the processing at key input.

When this processing routine is started, decision is first made as to whether key input is done (S11). If input is done by any of keys, decision is made as to whether the input key is a character key (S12). If it is, an input character is stored in the RAM 30c, processing for producing display on the LCD panel 12 is performed (S13), and the processing routine is put again into a key input standby state (S11).

If the key operated for input is not a character key, but a key, to which a functional process is assigned, other than a character size key (S14), the functional process assigned to the key is carried out (S15), and the processing routine is put again into the key input standby state (S11).

Next, when a key (size key) 11c, to which a character size change function is assigned, is operated (S14), as shown in FIG. 4(a), decision is made as to where a cursor 41 is positioned on the LCD panel 12 for displaying the text (S16, 17, 18 and 19). FIGS. 4 and 5 show cases in which a one-line sentence is included in a paragraph where the cursor exists. When the cursor 41 is positioned on the right side of a line head mark 40 as shown in FIG. 4(a) (S18), a screen display shown in FIG. 4(b) for allowing the character size to be changed by line is produced. The contents to be displayed in an inverted character size display portion 42 shown in FIG. 4(b) are changed by operating a key prepared to change the character size (for example, an arrow key) in this state, the character size by line is determined by a key prepared to determine the changed state (for example, an execution key) (in this embodiment, the character size is set at 5) (S18), and the processing routine is put again into the key input standby state (S11). The result of printing performed on the set condition is shown in FIG. 4(c).

If the cursor 41 is not positioned on the right side of the line head as shown in FIG. 5(a) when the size key 11c is depressed, a screen display shown in FIG. 5(b) for allowing the size of characters from the cursor position on to be changed is produced. Herein, numerals 4, 4W and 5 denote character sizes, and bigger numerals represent bigger characters. "W" means "wide" and denotes a character measuring a large amount in a lateral direction. When the arrow key is operated in this state, the screen display is changed to a display shown in FIG. 5 (c), the size smaller by one than the character size set by line with the execution key is decided on (S19), and the processing routine is put again in the key input standby state (S11). The result of printing performed on the set condition is shown in FIG. 5(d)

FIG. 6 shows an example case of character ornament. If character ornament is selected when the cursor is not positioned on the right side of the line head similarly to FIG. 5, ornament can be selected as shown in FIG. 6(a). When "Outline" shown in FIG. 6(d) is selected, characters from the cursor on are ornamented as shown in FIG. 6(e).

Areas to be converted will now be described. FIGS. 13 (a) and (b) show area names and area examples.

A sentence (132) is composed of at least one paragraph (131). The paragraph is composed of lines (133, 134) shown in FIG. 13(a). Each line is composed of a plurality of words (135) as shown in FIG. 13(b).

FIG. 8 shows an example case in which the number of lines is two. FIGS. 8(a) to 8(g) show states of character size settings. When the cursor is positioned at the head of a paragraph, the character is set by line in the paragraph. When the character size is selected, the display changes in order as shown in FIGS. 8(b), (d) and (f), and a case in which characters in both lines are of the same size, a case in which characters in the lower line are bigger than those in the upper line, or a case in which characters in the lower line are smaller than those in the upper line can be selected. Squares on the lower right of each of FIGS. 8(b), (d) and (f) represent images of character sizes. FIGS. 8(c), (e) and (g) respectively show print results in those cases. Although the case in which the number of lines is two is described above, the character size can be similarly selected if the number of lines is three or more.

FIG. 9 shows a case in which the size of characters from the cursor on is set. The cursor is moved under "S" of the word "Size", by which characters from "S" on is to be converted. In this case, characters in the same line of the same paragraph are only set to be converted.

FIG. 10 shows a case in which the size of characters in a sentence (all paragraphs) is set. As shown in FIG. 10(b), the cursor is put in the position of a line head mark of the first paragraph (leftmost paragraph) and further moved on the top of the line head mark by pressing an upward-pointing arrow key (.Arrow-up bold.), and the character size is set in this state, by which the character size can be changed all over the sentence. FIG. 10(c) shows a size setting screen for selecting small characters. As a result, characters shown in FIG. 10(a) are printed in a little reduced size as shown in FIG. 10(d).

FIG. 11 shows an example case in which the character size is set by paragraph. The character size can be set by paragraph by setting the character size in a state in which the cursor is put in the position of the line head mark as shown in FIG. 11(b). FIGS. 11(c) and (d) respectively show a size selection screen and a print result similarly to FIGS. 10(c) and (d).

FIG. 12 shows an example case in which the character size is changed word by word. According to the flow chart shown in FIG. 1, if the cursor is positioned at a blank, only the word just after the cursor is regarded as a character size setting area. When the cursor is moved to the first character of the word and setting is made, the size of characters from the cursor on is set as mentioned above.

As described above, according to the tape printing apparatus of the present invention, when the character size is changed, a plurality of setting functions, such as settings of the character size by sentence, by paragraph, by line, and by character in the line, can be achieved with a single key, depending on the cursor position displayed on the LCD panel.

Although the cursor in the display screen takes the form of an underline in this embodiment, it may be an inverted mark or a flashing mark of the same size as that of characters to be displayed on the screen.

Furthermore, although the character size to be set in FIGS. 5(b) and (c) can be smaller than the character size set in FIG. 4(b) in this embodiment, it may be changed to the bigger size.

Industrial Applicability

As the above detailed description reveals, according to the present invention, an area in which attributes of characters are set can be selected with a few types of keys or in a few key operations.

The present invention relates to a tape printing apparatus for printing print data, such as a desired character string, on a tape, and more particularly, to a tape printing apparatus having a function for arbitrarily setting character attributes such as a character size and a font. 

We claim:
 1. A tape printing apparatus comprising:input means for inputting print data such as a character and a sign: display means for displaying said print data input by said input means: input data position specifying means for indicating the position of said input data input by said input means; and character attribute setting means for setting a character attribute of said print data input by said input means, and capable of printing said input print data on a tape like printing medium: wherein said character attribute setting means changes an object area in which the attribute is to be set according to the position in which said input data position specifying means is placed at the time when the character attribute is set.
 2. A tape printing apparatus according to claim 1, wherein said character attribute setting means selects all input areas as said object area when said input data position specifying means is positioned in a first area, selects a paragraph next to said input data position specifying means as said object area when said input data position specifying means is positioned in a second area, and selects a line next to said input data position specifying means as said object area when said input data position specifying means is positioned in a third area.
 3. A tape printing apparatus according to claim 1, wherein said positional information includes information indicating that said input data position specifying means is positioned at a blank.
 4. A tape printing apparatus according to claim 3, wherein said object area is a word.
 5. A tape printing apparatus according to claim 1, wherein said object area is characters or signs from the position of said input data position specifying means on.
 6. A tape printing apparatus according to claim 5, wherein said object area is in a paragraph including said input data position specifying means.
 7. A tape printing apparatus according to claim 6, wherein said object area is in a line including said input data position specifying means.
 8. A tape printing apparatus according to claim 7,wherein the attribute set by said character attribute setting means is a character size.
 9. A tape printing apparatus according to claim 7, wherein the attribute set by said character attribute setting means is a character font type.
 10. A tape printing apparatus according to claim 7, wherein the attribute set by said character attribute setting means is character ornament.
 11. Tape printing apparatus having a print head for printing information on a tape, said apparatus comprising:a keyboard having a plurality of keys, a first set of keys for entering a sentence to be printed onto the tape, a sentence including at least one paragraph having a plurality of lines containing a plurality of words; display means for displaying a sentence entered by the user; a cursor key for moving a cursor on the display to various positions within the sentence; a function key on the keyboard for setting a character attribute; and processing means for assigning the character attribute selected by the function key to selected characters within the sentence as a function of the position of the cursor on the display.
 12. The apparatus of claim 11 wherein the position of the cursor in the sentence assigns the selected attribute to the following object areas:a) to all of the characters in the sentence when the cursor is positioned in a first area; b) to a paragraph within the sentence when the cursor is in a second position; c) to a line within the sentence when the cursor is in a third position.
 13. A tape printing apparatus comprising:input means for inputting print data such as a character and a sign; display means for displaying said print data input by said input means; input data position specifying means for indicating the position of said input data input by said input means; and character attribute setting means for setting a character attribute of said print data input by said input means, and capable of printing said input print data on a tape-like printing medium; wherein said character attribute setting means determines an object area in which the attribute is to be set according to the position in which said input data position specifying means is placed at the time when the character attribute is set. 